package com.yxw.live_vod_boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author fangmaoxin
 * &#064;date  2023年11月16日
 */
@Data
@TableName("yx_on_demand_collection_video")
@ApiModel("点播收藏记录实体")
public class YxOnDemandCollectionVideoEntity implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(value = "collection_video_id",type = IdType.ASSIGN_ID)
    @ApiModelProperty("点播收藏主键id")
    private Long collectionVideoId;

    @TableField("user_id")
    @ApiModelProperty("收藏用户Id")
    private Long userId;

    @TableField("user_name")
    @ApiModelProperty("收藏用户名称")
    private String userName;

    @TableField("video_id")
    @ApiModelProperty("视频Id")
    private Long videoId;

    @TableField("collection_time")
    @ApiModelProperty("收藏时间")
    private Date collectionTime;
}